.Modal__overlay {
  align-items: center;
  animation-duration: 0.2s;
  animation-name: RootModal__overlay;
  background-color: rgba(0,0,0,.6);
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  overflow: auto;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 3;
}

.Modal__container {
  animation-duration: 0.3s;
  animation-name: RootModal;
  background-color: $color-white;
  border-radius: 4px;
  box-sizing: inherit;
  display: flex;
  margin-bottom: 12px;
  overflow: auto;
  box-shadow: 0 60px 40px -30px rgba(0,0,0,.35);
  outline: none;
}

@keyframes RootModal {
  0% {
    opacity: 0;
    position: relative;
    top: -20px;
  }

  100% {
    opacity: 1;
    position: relative;
    top: 0;
  }
}

@keyframes RootModal__overlay {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
